﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000DB9 RID: 3513
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RaidCollectionDataScNotify : IMessage<RaidCollectionDataScNotify>, IMessage, IEquatable<RaidCollectionDataScNotify>, IDeepCloneable<RaidCollectionDataScNotify>, IBufferMessage
	{
		// Token: 0x17002C9B RID: 11419
		// (get) Token: 0x06009DAE RID: 40366 RVA: 0x001A5AA5 File Offset: 0x001A3CA5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RaidCollectionDataScNotify> Parser
		{
			get
			{
				return RaidCollectionDataScNotify._parser;
			}
		}

		// Token: 0x17002C9C RID: 11420
		// (get) Token: 0x06009DAF RID: 40367 RVA: 0x001A5AAC File Offset: 0x001A3CAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RaidCollectionDataScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002C9D RID: 11421
		// (get) Token: 0x06009DB0 RID: 40368 RVA: 0x001A5ABE File Offset: 0x001A3CBE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RaidCollectionDataScNotify.Descriptor;
			}
		}

		// Token: 0x06009DB1 RID: 40369 RVA: 0x001A5AC5 File Offset: 0x001A3CC5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RaidCollectionDataScNotify()
		{
		}

		// Token: 0x06009DB2 RID: 40370 RVA: 0x001A5ACD File Offset: 0x001A3CCD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RaidCollectionDataScNotify(RaidCollectionDataScNotify other) : this()
		{
			this.collectionInfo_ = ((other.collectionInfo_ != null) ? other.collectionInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009DB3 RID: 40371 RVA: 0x001A5B02 File Offset: 0x001A3D02
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RaidCollectionDataScNotify Clone()
		{
			return new RaidCollectionDataScNotify(this);
		}

		// Token: 0x17002C9E RID: 11422
		// (get) Token: 0x06009DB4 RID: 40372 RVA: 0x001A5B0A File Offset: 0x001A3D0A
		// (set) Token: 0x06009DB5 RID: 40373 RVA: 0x001A5B12 File Offset: 0x001A3D12
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OKFNNPMACMO CollectionInfo
		{
			get
			{
				return this.collectionInfo_;
			}
			set
			{
				this.collectionInfo_ = value;
			}
		}

		// Token: 0x06009DB6 RID: 40374 RVA: 0x001A5B1B File Offset: 0x001A3D1B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RaidCollectionDataScNotify);
		}

		// Token: 0x06009DB7 RID: 40375 RVA: 0x001A5B29 File Offset: 0x001A3D29
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RaidCollectionDataScNotify other)
		{
			return other != null && (other == this || (object.Equals(this.CollectionInfo, other.CollectionInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009DB8 RID: 40376 RVA: 0x001A5B5C File Offset: 0x001A3D5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.collectionInfo_ != null)
			{
				num ^= this.CollectionInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009DB9 RID: 40377 RVA: 0x001A5B98 File Offset: 0x001A3D98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009DBA RID: 40378 RVA: 0x001A5BA0 File Offset: 0x001A3DA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009DBB RID: 40379 RVA: 0x001A5BA9 File Offset: 0x001A3DA9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.collectionInfo_ != null)
			{
				output.WriteRawTag(26);
				output.WriteMessage(this.CollectionInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009DBC RID: 40380 RVA: 0x001A5BDC File Offset: 0x001A3DDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.collectionInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.CollectionInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009DBD RID: 40381 RVA: 0x001A5C1C File Offset: 0x001A3E1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RaidCollectionDataScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.collectionInfo_ != null)
			{
				if (this.collectionInfo_ == null)
				{
					this.CollectionInfo = new OKFNNPMACMO();
				}
				this.CollectionInfo.MergeFrom(other.CollectionInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009DBE RID: 40382 RVA: 0x001A5C70 File Offset: 0x001A3E70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009DBF RID: 40383 RVA: 0x001A5C7C File Offset: 0x001A3E7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 26U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.collectionInfo_ == null)
					{
						this.CollectionInfo = new OKFNNPMACMO();
					}
					input.ReadMessage(this.CollectionInfo);
				}
			}
		}

		// Token: 0x04003CD1 RID: 15569
		private static readonly MessageParser<RaidCollectionDataScNotify> _parser = new MessageParser<RaidCollectionDataScNotify>(() => new RaidCollectionDataScNotify());

		// Token: 0x04003CD2 RID: 15570
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003CD3 RID: 15571
		public const int CollectionInfoFieldNumber = 3;

		// Token: 0x04003CD4 RID: 15572
		private OKFNNPMACMO collectionInfo_;
	}
}
